/* src/App.css */
body, #root {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f0f2f5;
}

.container {
  position: relative;
  max-width: 800px;
  width: 90%;
  margin: 0 auto;
  min-height: 400px;
  max-height: 600px;
  padding: 30px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

h1 {
  text-align: center;
  color: #1a365d;
  font-size: 2rem;
  margin-bottom: 20px;
}

.chat-form {
  display: flex;
  gap: 10px;
  padding: 10px 0;
}

input {
  flex: 1;
  padding: 12px 16px;
  min-width: 500px;
  height: 50px;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.2s;
}

input:focus {
  outline: none;
  border-color: #007bff;
}

button {
  padding: 0 24px;
  height: 50px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.2s;
}

button:hover {
  background-color: #0056b3;
}

button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.response-wrapper {
  flex: 1;
  overflow-y: auto;
  padding-right: 10px;
}

.response {
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 6px;
  border: 1px solid #e9ecef;
  overflow-wrap: break-word;
}

.response h2 {
  margin: 0 0 10px 0;
  font-size: 18px;
  color: #333;
}

.response p {
  margin: 0;
  line-height: 1.6;
  color: #444;
}

.error {
  color: #dc3545;
  margin: 10px 0;
  padding: 10px;
  border-radius: 4px;
  background-color: #f8d7da;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}